home *** CD-ROM | disk | FTP | other *** search
/ 130 MIDI Tool Box / 130 MIDI Tool Box.iso / mqupdate / dx7ii.mbt < prev    next >
Text File  |  1990-07-01  |  1KB  |  27 lines

  1. ;=============================================================================
  2. ; This example illustrates how to upload and download patch
  3. ; banks from/to a DX-7S or DX-7II
  4. ;
  5. ; Copyright 1990 by Music Quest
  6. ; Copyright 1990 by DMA Software
  7. ; All rights reserved
  8. ;=============================================================================
  9. set fn e:sysex.dx7                      ;defines file name for sysex data
  10. ;
  11. ; First, we do the upload
  12. ;
  13. flushbuffer                             ;prepare to receive data
  14. sysex 0x43 0x20 9 0xF7                  ;request bulk dump from DX-7
  15. timeout 5                               ;if nothing is received for 5 seconds,
  16.                                         ;we'll timeout
  17. receive                                 ;receive base voice bank
  18. sysex 0x43 0x20 6 0xF7                  ;request additional voice data
  19. receive                                 ;receive additional voice data
  20. save fn                                 ;save all data
  21. ;
  22. ; Then, we do the down load
  23. ;
  24. sysex 0x43 0x10 0x19 83 0 0xF7          ;This sysex turns off memory protect
  25. pacing 512                              ;Report status every 512 bytes
  26. sendfile fn                             ;Now, send the file from above
  27.